package xin.petstore.framework.file.hash;

import java.io.IOException;
import java.security.MessageDigest;

public abstract interface IHashCalc
{
  public abstract int getBufferSize();

  public abstract void setBufferSize(int paramInt);

  public abstract long getReadLength();

  public abstract void setReadLength(long paramLong);

  public abstract long getReadCount();

  public abstract MessageDigest[] getMessageDigests();

  public abstract Object getSource();

  public abstract byte[][] getByteArrayHash()
    throws IOException;

  public abstract String[] getHexStringHash()
    throws IOException;

  public abstract void addHashProgressInterceptor(HashProgressInterceptor paramHashProgressInterceptor);

  public abstract void removeHashProgressInterceptor(HashProgressInterceptor paramHashProgressInterceptor);
}